<template>
	<div v-if="error.statusCode==404">我是一个404页面</div>
	<div v-else>我是一个500页面</div>
</template>

<script>
	export default{
		props:['error'],
		mounted(){
			console.log(this.error)
		},
		head(){
			return {
				title:'aaa',
				meta:[
				  { hid: 'description', name: 'description', content: '' }
				]
			}			
		}
	}
</script>

<style>
</style>